﻿using System.Collections.Generic;
using System.Linq;
using TeaLight.Core.BL.Entities;
using TeaLight.Core.BL.TestData.General;
using TeaLight.Core.DAL;

namespace TeaLight.Core.BL.TestData
{
    internal static class TestDataManager
    {
        public static void Create()
        {
            IEnumerable<Speaker> data = SpeakerRepository.GetAll();
            if (data.Any())
            {
                return;
            }
            SpeakerTestData.Create();
        }
    }
}
